package cn.mxleader.kafka.mxleaderspringkafkademo

data class ApiResponse<T>(val action: String, val code: CODE, val result: T? = null) {
    enum class CODE {
        SUCCESS, FAIL, ERROR
    }
}
